<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<script type="text/javascript">

</script>
<body>

	<div class="pageContent">
		<form method="post" action="saveProductInfo"
			class="pageForm required-validate"
			onsubmit="return validateCallback(this,popAjaxCallBack)">
			<div class="pageFormContent nowrap" layoutH="97">
				<fieldset>
					<legend class="contentTitle">
						<c:if test="${editType==1}">
							<s:text name="productInfoNew.title" />
						</c:if>
						<c:if test="${editType==0}">
							<s:text name="productInfoEdit.title" />

						</c:if>
					</legend>
					<s:hidden name="editType"></s:hidden>
					
						<dl>
						<dd>


							<s:textfield key="venderInfo.venderId"
								name="model.venderInfo.venderId" readonly="true" />
						</dd>
					</dl>	<dl>
						<dd>

					<s:textfield key="venderInfo.venderName" name="model.venderInfo.venderName" readonly="true"/>
							
						</dd>
					</dl>
					
					
					
					
					<dl>
						<!-- <dt></dt> -->
						<dd>
							<c:if test="${editType==1}">
								<s:textfield key="productInfo.productId" name="model.productId"
								cssClass="required" readonly="false"></s:textfield>

							</c:if>
							<c:if test="${editType==0}">
								<s:textfield key="productInfo.productId" name="model.productId"
								cssClass="required" readonly="true"></s:textfield>
							</c:if>
						</dd>
					</dl>
					<dl>
						<dd>

							<s:textfield key="productInfo.productName" name="model.productName"
								cssClass="required"></s:textfield>
						</dd>
					</dl>
					<dl>
						<dd>

							<%-- <s:textfield key="productInfo.productVersion"
								name="model.productVersion" cssClass="required"></s:textfield> --%>
								<s:checkbox key="productInfo.disabled" name="model.disabled"/>
						</dd>
					</dl>
					<%-- <dl>
						<dd>
							<s:textarea key="productInfo.copyRightInfo" cols="50" rows="5"
								name="model.copyRightInfo" cssClass="required"></s:textarea>

						</dd>
					</dl> --%>
				</fieldset>
			<!-- 	<dl>
					<dt>&nbsp;</dt>
					<dd>
						<div class="button">
							<div class="buttonContent">
								<button>保存</button>
							</div>
						</div>
					</dd>
				</dl> -->


			</div>
				<div class="formBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">保存</button>
							</div>
						</div>
					</li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="Button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</body>
</html>